import { Loading } from 'element-ui';

const scLoading = function(text = "正在加载...") {
    return Loading.service({
        lock: true,
        text: text,
        spinner: "el-icon-loading",
        background: "rgba(255,255,255, 0.5)",
        customClass: 'scLoadingClass'
    });
}

export default scLoading